/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
  font-family: 'iconfont';
  /* Project id 4425747 */
  src: url('//at.alicdn.com/t/c/font_4425747_7wanyeqprz.woff2?t=1708840325689') format('woff2'),
    url('//at.alicdn.com/t/c/font_4425747_7wanyeqprz.woff?t=1708840325689') format('woff'),
    url('//at.alicdn.com/t/c/font_4425747_7wanyeqprz.ttf?t=1708840325689') format('truetype');
}


.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}


body {
  height: 1200px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F0F0F0;
}


/* 栏目 */
.nav {
  display: block;
  height: 60px;
  width: 100%;
  line-height: 60px;
  background-image: linear-gradient(to right, #0483D4 80%, transparent);
  font: normal 500 24px/60px Arial sans-serif;
  padding-left: 30px;
  color: #fff;
}


/* 添加按钮 */
.insert {
  position: absolute;
  top: 25px;
  right: 3%;
}

button {
  background-color: #0483D4;
  width: 75px;
  height: 35px;
  text-align: center;
  font: normal 600 16px Arial sans-serif;
  color: #fff;
  border-radius: 5px;
  border: none;
  transition: all .5s;
  cursor: pointer;
}

button:hover {
  transform: scale(1.05);
}


/* 表格主体部分 */
.TableBackground {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 1370px;
  background-color: #fff;
  box-sizing: border-box;
  margin-top: 30px;
  padding-top: 20px;
}


/* 表格 */
table {
  position: relative;
  margin: 0px auto;
  border-collapse: collapse;
}

th,
td {
  display: inline-block;
  margin: 0;
  height: 35px;
  font: normal 500 13px/35px Arial sans-serif;
  text-align: center;
  width: 93px;
  border: 1px solid grey;
  background-color: #fff;
}

.degreeBox {
  white-space: nowrap;
  overflow: hidden;
}

.degreeBox:hover {
  overflow-x: auto;
}

th {
  font-weight: 600;
  height: 40px;
  color: gray;
  background-color: #f0f0f0;
  border-bottom: 2px solid #0483D4;
}

table th:nth-child(2),
.list td:nth-child(2) {
  width: 220px;
}

table th:last-child,
.list td:last-child {
  width: 160px;
}

.list button:nth-child(1),
.list button:nth-child(2) {
  transform: scale(.7);
}

.list button:nth-child(1):hover,
.list button:nth-child(2):hover {
  transform: scale(.8);
}

.list td button:nth-child(1) {
  background-color: rgb(4, 176, 4);
}

.list td button:nth-child(2) {
  background-color: rgb(203, 7, 7);
}


/* 表格控制栏 */
.controlTable {
  width: 95%;
  padding: 0;
  margin: 0px 0px 30px 0px;
  height: 50px;
  background-color: #f0f0f0;
}

.controlTable ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 13px 0 0 0;
  padding: 0;
  list-style: none;
}

.controlTable ul li {
  display: inline-block;
  text-align: center;
  width: 25px;
  height: 25px;
  line-height: 25px;
  background-color: #f0f0f0;
  border-radius: 15px;
  border: 2px solid rgb(198, 191, 191);
  transition: all .5s;
  cursor: pointer;
}

.controlTable ul li:hover {
  background-color: #fff;
}

.controlTable input {
  display: inline-block;
  width: 50px;
  height: 25px;
  border-radius: 10px;
  border: none;
  background-color: #fff;
  font: normal 500 16px/80px Arial sans-serif;
  transition: all .5s;
}

.controlTable input:focus {
  outline: none;
  transform: scale(1.02);
  border: #0483D4 solid 1px;
}

.controlTable select {
  height: 25px;
  outline: none;
}


/* 添加界面 */
.insertShow {
  display: none;
  position: absolute;
  top: 12%;
  left: 35%;
  width: 500px;
  height: 1000px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 1px 1px 5px 5px grey;
}

.insertShow .title {
  margin-left: 20px;
}

.insertShow h3 {
  display: inline-block;
  width: 70%;
  margin: 10px 0px 10px 30px;
}

.insertShow input:not([name="degree"]) {
  margin-top: 30px;
  width: 60%;
  height: 40px;
  border-radius: 10px;
  border: none;
  background-color: #F0F0F0;
  font: normal 500 16px/80px Arial sans-serif;
  transition: all .5s;
}

.insertShow .degreeSelect span {
  font: normal 600 16px Arial sans-serif;
}

.insertShow .location {
  display: none;
}

.insertShow input:focus {
  outline: none;
  transform: scale(1.02);
  border: #0483D4 solid 1px;
}

.insertShow .buttons {
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.insertShow select {
  text-align: center;
  width: 180px;
  height: 30px;
  border-radius: 5px;
}